﻿using System.Windows.Controls;
using System.Windows.Media;
using FluentButton = Fluent.Button;

namespace WhiteFlow.DevTrackingTool.UI.Controls
{
    /// <summary>
    /// Represents a button used in ribbon's backstage.
    /// </summary>
    public class BackstageButton : FluentButton
    { }
    //    private TextBlock label;
        
    //    /// <summary>
    //    /// Occurs when the template is applied to the control.
    //    /// </summary>
    //    public override void OnApplyTemplate()
    //    {
    //        base.OnApplyTemplate();

    //        label = this.GetTemplateChild("controlLabel") as TextBlock;
    //    }

    //    /// <summary>
    //    /// Handles the MouseEnter event.
    //    /// </summary>
    //    /// <param name="e">The event data for the <see cref="E:System.Windows.Input.Mouse.MouseEnter"/> event.</param>
    //    protected override void OnMouseEnter(System.Windows.Input.MouseEventArgs e)
    //    {
    //        base.OnMouseEnter(e);

    //        if (label != null)
    //        {
    //            label.Foreground = Brushes.Black;
    //        }
    //    }

    //    /// <summary>
    //    /// Handles the MouseLeave event.
    //    /// </summary>
    //    /// <param name="e">The event data for the <see cref="E:System.Windows.Input.Mouse.MouseLeave"/> event.</param>
    //    protected override void OnMouseLeave(System.Windows.Input.MouseEventArgs e)
    //    {
    //        base.OnMouseLeave(e);

    //        if (label != null)
    //        {
    //            label.Foreground = Brushes.White;
    //        }
    //    }
    //}
}